From: Fabian Grünbichler Date: Thu, 25 Sep 2025 07:32:47 +0000 (+0200) Subject: disable bootstrap tests that don't work from tarball sources X-Git-Tag: archive/raspbian/1.92.0+dfsg1-2+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22stanciumarius94%40gmail.com//%22mailto:i18n-csb%40linuxcsb.org/%22/%22http:/www.example.com/%22stanciumarius94%40gmail.com/%22mailto:i18n-csb%40linuxcsb.org/%22?a=commitdiff_plain;h=08f5a61008719ee2293c5b2f5ed780fd0038991a;p=rustc.git disable bootstrap tests that don't work from tarball sources Forwarded: not-needed Signed-off-by: Fabian Grünbichler Gbp-Pq: Topic build Gbp-Pq: Name disable-bootstrap-tests-that-don-t-work-from-tarball-sour.patch --- diff --git a/src/bootstrap/src/core/builder/tests.rs b/src/bootstrap/src/core/builder/tests.rs index c6f0748d05..1d782c29c9 100644 --- a/src/bootstrap/src/core/builder/tests.rs +++ b/src/bootstrap/src/core/builder/tests.rs @@ -162,7 +162,8 @@ fn check_missing_paths_for_x_test_tests() { } } -#[test] +//Debian: doesn't work in a tarball source +#[allow(dead_code)] fn ci_rustc_if_unchanged_invalidate_on_compiler_changes() { git_test(|ctx| { prepare_rustc_checkout(ctx); @@ -175,7 +176,8 @@ fn ci_rustc_if_unchanged_invalidate_on_compiler_changes() { }); } -#[test] +//Debian: doesn't work in a tarball source +#[allow(dead_code)] fn ci_rustc_if_unchanged_do_not_invalidate_on_library_changes_outside_ci() { git_test(|ctx| { prepare_rustc_checkout(ctx); @@ -188,7 +190,8 @@ fn ci_rustc_if_unchanged_do_not_invalidate_on_library_changes_outside_ci() { }); } -#[test] +//Debian: doesn't work in a tarball source +#[allow(dead_code)] fn ci_rustc_if_unchanged_do_not_invalidate_on_tool_changes() { git_test(|ctx| { prepare_rustc_checkout(ctx); @@ -1542,7 +1545,7 @@ mod snapshot { "); } - #[test] + #[allow(dead_code)] fn dist_all_cross_extended() { let ctx = TestCtx::new(); insta::assert_snapshot!( @@ -1623,7 +1626,7 @@ mod snapshot { /// /// This is a regression test for /// and . - #[test] + #[allow(dead_code)] fn dist_all_cross_extended_no_docs() { let ctx = TestCtx::new(); let steps = ctx